<%@ page import="com.bean.User" %><%--
  Created by IntelliJ IDEA.
  User: WuLiangHang
  Date: 2021/9/23
  Time: 9:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    User user = (User)request.getSession().getAttribute("user");
    if (user == null){
        //未登录
        response.sendRedirect("../login.html");
    }
%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>管理员才能看的页面</h1>
</body>
</html>
